package com.leedsoft.controller.dto;

import java.util.Date;

/**
 * 任务节点Dto
 */
public class AidTaskDto {
    /**
     * 任务编号
     */
    private int code;
    /**
     * 系统用户id
     */
    private Long userId;
    /**
     * 预案id
     */
    private Long plan_id;
    /**
     * 流程定义id
     */
    private Long procdef_id;
    /**
     * 创建时间
     */
    private Date create_time;
    /**
     * 任务内容描述
     */
    private String detail;
    /**
     * 分支要素
     */
    private String switch_logic;
    /**
     * 操作编码
     */
    private int operation_code;
    /**
     * 操作信息
     */
    private String operation_info;

    /**
     * 任务对应于activiti中的任务id
     */
    private Long ID;

    public Long getID() {
        return ID;
    }

    public void setID(Long ID) {
        this.ID = ID;
    }

    /**
     * 出顺序流是否指向分支节点，0表示否，1表示是。
     */
    private int to_switch;

    /**
     * 所属预案名称
     */
    private String planName;

    public String getPlanName() {
        return planName;
    }

    public void setPlanName(String planName) {
        this.planName = planName;
    }

    public int getTo_switch() {
        return to_switch;
    }

    public void setTo_switch(int to_switch) {
        this.to_switch = to_switch;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getPlan_id() {
        return plan_id;
    }

    public void setPlan_id(Long plan_id) {
        this.plan_id = plan_id;
    }

    public Long getProcdef_id() {
        return procdef_id;
    }

    public void setProcdef_id(Long procdef_id) {
        this.procdef_id = procdef_id;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getSwitch_logic() {
        return switch_logic;
    }

    public void setSwitch_logic(String switch_logic) {
        this.switch_logic = switch_logic;
    }

    public int getOperation_code() {
        return operation_code;
    }

    public void setOperation_code(int operation_code) {
        this.operation_code = operation_code;
    }

    public String getOperation_info() {
        return operation_info;
    }

    public void setOperation_info(String operation_info) {
        this.operation_info = operation_info;
    }
}
